<layout name="layout" />

<script src="{$uri}Public/Scripts/PSI/Pos/MainForm.js?dt={$dtFlag}"
	type="text/javascript"></script>
<script
	src="{$uri}Public/Scripts/PSI/Pos/SelectShopForm.js?dt={$dtFlag}"
	type="text/javascript"></script>
<script
	src="{$uri}Public/Scripts/PSI/Pos/SelectGoodsForm.js?dt={$dtFlag}"
	type="text/javascript"></script>
<script
	src="{$uri}Public/Scripts/PSI/Customer/CustomerField.js?dt={$dtFlag}"
	type="text/javascript"></script>

<script src="{$uri}Public/Lodop/LodopFuncs.js?dt={$dtFlag}"
	type="text/javascript"></script>

<script>
	Ext.onReady(function() {
		var app = Ext.create("PSI.App", {
			userName : "{$loginUserName}",
			productionName : "{$productionName}"
		});

		app.setAppHeader({
			title : "{$title}",
			iconCls : "PSI-fid2039"
		});

		var form = Ext.create("PSI.Pos.MainForm", {
			productionName : "{$productionName}"
		});
		form.show();

	});
</script>